assignment operator

[əˈsainmənt ˈɔpəreitə]
  • 释义

    赋值操作符;

数据更新时间:2026-08-25 14:51:45
1、

left side of assignment operator must be variable or property

赋值运算符左边必须是变量或属性

互联网摘选

2、

The assignment operator assigns, member by member, from the old object to the new.

赋值操作符将成员依次从旧对象赋值给新对象.

互联网摘选

3、

Special member functions the copy constructor, the assignment operator, and the destructor define these operations.

特殊成员函数(复制构造函数 、 赋值操作符和析构函数)可用于定义这些操作.

互联网摘选

4、

Assignment operator. Tests whether the left-hand operand is not equal to the right-hand.

不等于操作符. 测试左右两边的操作数是否不等.

互联网摘选

5、

Making the class assignment operator virtual is likely to be confusing and unlikely to be useful.

将类的赋值操作符设为虚函数很可能会令人混淆,而且不会有什么用处.

互联网摘选

6、

This class looks like our other handles as does the assignment operator.

这个类看来与其他句柄类似,赋值操作符也类似.

互联网摘选

7、

The goal here is to avoid accidentally using the single-equals assignment operator instead of the double-equals comparison operator

目标在于避免意外地使用单等号赋值运算符而非双等号比较运算符

互联网摘选

8、

Like constructors, the assignment operator may be overloaded by specifying different types for the right-hand operand .

与构造函数一样, 赋值操作符可以通过指定不同类型的右 操作数 而重载.

互联网摘选

9、

So this is the equality operator, whereas the single equal sign is the assignment operator.

所以这是相等操作符,然而那个单等号是一个赋值运算符。

互联网摘选

10、

so you don't have to use the assignment operator.

所以你并不需要使用赋值运算符。

互联网摘选

11、

The synthesized assignment operator member wise assigns the right-hand operand to the left.

合成赋值操作符将右 操作数 逐个成员地赋值给左操作数.

互联网摘选

12、

To avoid this warning, specify a user-defined assignment operator for the class.

若要避免出现此警告, 请为该类指定用户定义的赋值运算符.

互联网摘选

13、

if you need to make your class non-copyable, the typical way is to make the copy constructor and the assignment operator of the class private or protected.

如果您需要使类成为不可复制的,典型的实现方法是将类的复制构造函数和赋值运算符设置为private或protected。

互联网摘选

14、

well, the assignment operator makes a copy of the thing on the right and puts it in the thing on the left.

赋值操作符把右边的东西,复制到左边。

互联网摘选

15、

The copy constructor and destructor but no assignment operator.

定义了复制构造函数和析构函数但没有定义赋值操作符.

网络文摘精选

16、

Break long assignments before the assignment operator.

在赋值操作符前将长表达式截断.

互联网摘选

17、

so the assignment operator thus far makes copies of things.

所以到现在为止,赋值运算符复制了很多数据。

互联网摘选

18、

The addition assignment operator.

加法赋值运算符.

互联网摘选

19、

The assignment operator cannot be overloaded.

不能重载赋值运算符.

互联网摘选

20、

When a binary operator is overloaded, the corresponding assignment operator, if any, is also implicitly overloaded.

重载二元运算符时, 也会隐式重载相应的赋值运算符(如果有).

互联网摘选

21、

The compiler cannot generate an assignment operator for the given class.

编译器无法为给定的类生成赋值运算符.

互联网摘选

22、

however, the assignment operator survived optimization and got exported from a dll.

而赋值运算符在优化之后还存活并从DLL中导出。

互联网摘选

23、

the assignment operator is a right association operator.

赋值运算符是一个右结合运算符。

AI例句精选

24、

Explicitly define an assignment operator for the class.

为类显式定义赋值运算符.

互联网摘选

25、

An assignment operator stores the value of the right expression into the left expression.

赋值操作符把右边表达式的值赋值给左边的表达式.

互联网摘选

  • 相关词组
  • 今日热词
  • 热门搜索

瑞鸿网英语词典(dict.ruihongw.com)为您提供在线翻译、英语词典、单词大全、英译汉、汉译英等英语服务!可按单词头尾、字数和词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈